//
//  DetailContactPersonViewController.m
//  CRSCMOA
//
//  Created by ANGELINE on 16/9/1.
//  Copyright © 2016年 王文晓. All rights reserved.
//

#import "DetailContactPersonViewController.h"

@interface DetailContactPersonViewController ()

@property (nonatomic, strong)UIImageView *photoImageView;

@property (nonatomic, strong)UITableView *tableView;

@end

@implementation DetailContactPersonViewController
- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Do any additional setup after loading the view.
}
- (void)initWithView{
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"crh"]];
    [imageView setFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight / 3)];
    [self.view addSubview:imageView];
    
    self.photoImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ic_launcher"]];
    [self.photoImageView setFrame:CGRectMake(0, 0, kScreenHeight / 6, kScreenHeight / 6)];
    self.photoImageView.center = imageView.center;
    [imageView addSubview:self.photoImageView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
